<%--
  Created by IntelliJ IDEA.
  User: 75230
  Date: 2022-4-21
  Time: 14:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>查询所有用户</title>
</head>
<body>
    <div>
        <table bgcolor="red" border="1px">
            <tr>
                <td>id</td>
                <td>name</td>
                <td>gender</td>
                <td>age</td>
                <td>address</td>
                <td>email</td>
                <td>qq</td>
                <td>username</td>
                <td>password</td>
            </tr>
            <c:forEach items="${list}" var="user">
                <tr>
                    <td>${user.id}</td>
                    <td>${user.name}</td>
                    <td>${user.gender}</td>
                    <td>${user.age}</td>
                    <td>${user.address}</td>
                    <td>${user.email}</td>
                    <td>${user.qq}</td>
                    <td>${user.username}</td>
                    <td>${user.password}</td>
                </tr>
            </c:forEach>

        </table>
    </div>
</body>
</html>
